<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>B站</title>
  <link rel="shortcut icon" href="./images/favicon.ico" type="image/x-icon">
  <link rel="stylesheet" href="./fonts/iconfont.css">
  <link rel="stylesheet" href="./css/index.css">
</head>

<body>
  <header>
    <div class="top">
      <div class="left">
        <a href="#">
          <i class="iconfont Navbar_logo"></i>
        </a>
      </div>
      <div class="right">
        <a href="#"> <i class="iconfont ic_search_tab"></i></a>
        <a href="#" class="login">
          <img src="./images/login.png" alt="">
        </a>
        <a href="#" class="download">
          <img src="./images/download.png" alt="">
        </a>
      </div>
    </div>
    <div class="bottom">
      <div class="tab">
        <ul>
          <li><a href="#" class="current">首页</a></li>
          <li><a href="#" class="">动画</a></li>
          <li><a href="#" class="">番剧</a></li>
          <li><a href="#" class="">国创</a></li>
          <li><a href="#" class="">舞蹈</a></li>
        </ul>
      </div>
      <div class="more">
        <a href="#"> <i class="iconfont general_pulldown_s"></i></a>
      </div>
    </div>
  </header>
  <section class="video_content">
    <div class="video_list">
      <a href="#">
        <div class="pic">
          <img src="./images/1.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">你活着补刀就是对我最大的侮辱，韩服最强王者组单杀集锦青年队</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/2.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">华为手机</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/1.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">你活着补刀就是对我最大的侮辱，韩服最强王者组单杀集锦青年队</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/2.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">华为手机</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/1.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">你活着补刀就是对我最大的侮辱，韩服最强王者组单杀集锦青年队</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/2.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">华为手机</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/1.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">你活着补刀就是对我最大的侮辱，韩服最强王者组单杀集锦青年队</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/2.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">华为手机</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/1.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">你活着补刀就是对我最大的侮辱，韩服最强王者组单杀集锦青年队</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/2.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">华为手机</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/1.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">你活着补刀就是对我最大的侮辱，韩服最强王者组单杀集锦青年队</div>
      </a>
      <a href="#">
        <div class="pic">
          <img src="./images/2.jpg" alt="">
          <div class="count">
            <p>
              <i class="iconfont icon_shipin_bofangshu"></i>
              <span>132</span>万
            </p>
            <p>
              <i class="iconfont icon_shipin_danmushu"></i>
              <span>24</span>万
            </p>
          </div>
        </div>
        <div class="txt ellipsis-2">华为手机</div>
      </a>

    </div>

  </section>
  <footer>
    <div class="openapp">
      <i class="iconfont Navbar_logo"></i>
      <span>打开App，看你感兴趣的视频</span>
    </div>
  </footer>
</body>
<script>
  // 点击下载图标跳转b站下载
  const app = document.querySelector('.openapp')
  const download = document.querySelector('.download')
  function toApp() {
    location.href = 'https://d.bilibili.com/download_app.html'
  }
  app.addEventListener('click', toApp)
  download.addEventListener('click', toApp)
  // 用户图标跳转登录页
  const login = document.querySelector('.top .right .login')
  login.addEventListener('click', () => location.href = './login.html')
</script>

</html>